<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <p:menubar autoDisplay="false">

        <p:submenu label="#{bundle.Bambole}"> 

            <p:submenu label="#{bundle.System}">

                <p:menuitem value="#{bundle.Login}"
                            url="/faces/app/system/login.xhtml?faces-redirect=true"/> 

                <p:menuitem value="#{bundle.Logout}"
                            action="#{userUtil.logout}"
                            update=":messages"
                            immediate="true"/>      

            </p:submenu>

        </p:submenu> 

        <f:facet name="options">

            <p:button id="homeButton"
                      style="max-width: 1.6em; max-height: 1.6em"
                      icon="ui-icon-home"
                      outcome="/index.xhtml?faces-redirect=true"/>

            <p:tooltip for="homeButton"
                       value="#{bundle.Home}"/>

        </f:facet>     

    </p:menubar>

    <p:spacer/>

</html>